﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterPage.master" AutoEventWireup="true" CodeFile="ErrorPage.aspx.cs" Inherits="ErrorPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .Exception
    {
	    font-weight: bold;
	    font-size: large;
	    color: red;
    }
    .ExceptionMsg
    {
        font-weight:bold;
        font-size:large;
        color:blue;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div>
        <div class="Exception">
        <h1 >Error page</h1>
        System Error Occurred! Please contact System Administrator at GlassGroup with the details of the error.<br />    
        <br /><br />
        </div>
        <table >
            <tr>
                <td class="ExceptionMsg">Error Message:</td>
                <td><%=errorMessage %></td>
            </tr>
            <tr>
                <td class="ExceptionMsg">ExceptionType:</td>
                <td><%=errorType %></td>
            </tr>
            <tr>
                <td class="ExceptionMsg">Error Originated At:</td>
                <td><%=errorSourcePage %></td>
            </tr>
            <tr><td colspan="2" class="ExceptionMsg">Stack Trace:</td></tr>
            <tr><td colspan="2"><%=stackTrace %></td></tr>
        </table>     
    </div>
</asp:Content>

